PWD=$(shell pwd)
MAKE=make
TARGET=power.o
#KERNEL_SRC=/home/dongwb/nuc980bsp/nuc980-linux-4.4.y
KERNEL_SRC=/home/dongwb/nuc980bsp/NUC980-linux-4.4.y
obj-m := $(TARGET)
module-objs := $(TARGET)
all:
	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules

clean:
	rm *.ko
	rm *.o

	